﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Paginas_Administrador/MasterPageAdmin.Master" AutoEventWireup="true" CodeBehind="AgendamentosPendentes.aspx.cs" Inherits="WEB_MechSysWeb.Paginas_Administrador.AgendamentosPendentes" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMaster" runat="server">
    <div id="divPagina" style="height: 1237px">
        <div id="divTitulo" class="divTituloPerfilDados">
            <asp:Image ID="imgIcone" runat="server" CssClass="imgIconTitulo" Height="25px" ImageUrl="~/Imagens/icon-agenda-de-eventos.png" Width="29px" />
            Agendamentos
        </div>
        <div id="divAgendamentos" class="divAgendamentos">
            <div class="divHeaderCad">
                Agendamentos Realizados</div>
            <div id="divFiltroAgenda">
                <asp:Label ID="Label1" runat="server" Font-Size="Medium" ForeColor="Black" Text="Informe a Data desejada: "></asp:Label>
                <asp:TextBox ID="txtDataFiltro" runat="server" Width="320px"></asp:TextBox>
                <AjaxControlToolkit:MaskedEditExtender ID="mskDataFiltro" runat="server" ClearMaskOnLostFocus="false" Mask="99\/99\/9999" PromptCharacter="_" TargetControlID="txtDataFiltro">
                </AjaxControlToolkit:MaskedEditExtender>
                <AjaxControlToolkit:CalendarExtender ID="CalendarExtenderFiltro" runat="server" Format="dd/MM/yyyy" TargetControlID="txtDataFiltro">
                </AjaxControlToolkit:CalendarExtender>
                <asp:ImageButton ID="imgbtnPesquisar" runat="server" BorderColor="#3F3F3F" BorderStyle="Groove" BorderWidth="2px" Height="22px" ImageUrl="~/Imagens/Find.png" OnClick="imgbtnPesquisar_Click" Width="26px" />
            </div>
            <asp:GridView ID="gridAgendamentos" runat="server" AutoGenerateColumns="False" AutoGenerateSelectButton="True" BackColor="#F3F3F3" BorderColor="#333333" BorderStyle="Groove" BorderWidth="3px" CssClass="gridAgendamentos" DataKeyNames="AgendamentoID" OnSelectedIndexChanged="gridAgendamentos_SelectedIndexChanged" Width="630px">
                <AlternatingRowStyle BackColor="#CCCCCC" BorderColor="#333333" BorderStyle="Outset" BorderWidth="3px" ForeColor="Black" />
                <Columns>
                    <asp:BoundField DataField="AgendamentoID" HeaderText="AgendamentoID" />
                    <asp:BoundField DataField="Cliente" HeaderText="Cliente" />
                    <asp:BoundField DataField="Veiculo" HeaderText="Veiculo" />
                    <asp:BoundField DataField="Placa" HeaderText="Placa" />
                    <asp:BoundField DataField="Status" HeaderText="Status" />
                    <asp:BoundField DataField="DataAgendada" HeaderText="DataAgendada" />
                    <asp:BoundField DataField="Turno" HeaderText="Turno" />
                </Columns>
                <HeaderStyle BackColor="#3F3F3F" ForeColor="White" />
                <SelectedRowStyle BackColor="#3F3F3F" ForeColor="White" />
            </asp:GridView>
        </div>
        <asp:UpdatePanel ID="UpdatePanel" runat="server">
            <ContentTemplate>
                <div id="divAgendar" class="divAgendarAdm">
                    <div class="divHeaderCad">
                        Fazer AgendamentoFazer Agendamento</div>
                    <div id="divInfAgendamento" class="divInfAgendamentoAdm">
                        <table class="tableDadosPerfilAgenda" style="width: 86%; height: 324px; left: 0px;">
                            <tr>
                                <td class="auto-style1">
                                    <asp:Label ID="Label2" runat="server" Font-Size="Medium" ForeColor="White" Text="Data Agendada:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtDataAgendada" runat="server" Enabled="False" Height="22px" Style="margin-bottom: 0px" Width="355px"></asp:TextBox>                                   
                                <AjaxControlToolkit:MaskedEditExtender ID="MaskedEditExtender1" runat="server" ClearMaskOnLostFocus="false" Mask="99\/99\/9999" PromptCharacter="_" TargetControlID="txtDataAgendada">
                </AjaxControlToolkit:MaskedEditExtender>
                                     </td>
                            </tr>
                            <tr>
                                <td class="auto-style1">
                                    <asp:Label ID="Label6" runat="server" Font-Size="Medium" ForeColor="White" Text="Turno:"></asp:Label>
                                </td>
                                <td>
                                    <asp:RadioButtonList ID="rdListTurno" runat="server" Enabled="False" Font-Size="Medium" ForeColor="White" Height="30px" RepeatDirection="Horizontal">
                                        <asp:ListItem Selected="True" Value="M">Manhã</asp:ListItem>
                                        <asp:ListItem Value="T">Tarde</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style1">
                                    <asp:Label ID="Label3" runat="server" Font-Size="Medium" ForeColor="White" Text="Veículo:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtVeiculo" runat="server" Enabled="False" Height="22px" Style="margin-bottom: 0px" Width="355px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style1">
                                    <asp:Label ID="Label4" runat="server" Font-Size="Medium" ForeColor="White" Text="Resumo:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtResumo" runat="server" Height="68px" TextMode="MultiLine" Width="355px" Enabled="False"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style1">
                                    <asp:Label ID="Label5" runat="server" Font-Size="Medium" ForeColor="White" Text="Descrição:"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtDescricao" runat="server" Height="102px" TextMode="MultiLine" Width="355px" Enabled="False"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="gridAgendamentos" EventName="SelectedIndexChanged" />
            </Triggers>
        </asp:UpdatePanel>
    </div>
</asp:Content>
